package xcmg.device.dao.mapper.logistic;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xcmg.device.dao.entity.logistic.LogisticWaybillFeeDetailDO;
import xcmg.device.service.vo.logistic.LogisticWaybillFeePrintVO;
import xcmg.device.service.vo.logistic.LogisticWaybillFeeViewResponseVO;

@Mapper
public interface LogisticWaybillFeeDetailMapper {

    int deleteByPrimaryKey(String id);

    int insert(LogisticWaybillFeeDetailDO record);

    int batchInsert(@Param("details") List<LogisticWaybillFeeDetailDO> details);

    int insertSelective(LogisticWaybillFeeDetailDO record);

    LogisticWaybillFeeDetailDO selectByPrimaryKey(String id);

    List<LogisticWaybillFeeDetailDO> selectByFeeId(@Param("feeId") String feeId);

    int deleteBatch(@Param("details") List<LogisticWaybillFeeDetailDO> details);

    List<LogisticWaybillFeeViewResponseVO.Detail> viewDetail(String feeId);

    List<LogisticWaybillFeePrintVO.Detail> printDetail(String feeId);
}
